The track element allows authors to specify explicit external timed text tracks for media elements. It
does not represent anything on its own.
Properties |
const unsigned short | - ERROR = 3
- The text track failed to load state.
|
const unsigned short | - LOADED = 2
- The text track loaded state.
|
const unsigned short | - LOADING = 1
- The text track loading state.
|
const unsigned short | - NONE = 0
- The text track not loaded state.
|
boolean | - default
- The src, srclang, label, and default IDL attributes must reflect the
respective content attributes of the same name. The kind IDL attribute must reflect the content
attribute of the same name, limited to only known values.
|
DOMString | - kind
- The src, srclang, label, and default IDL attributes must reflect the
respective content attributes of the same name. The kind IDL attribute must reflect the content
attribute of the same name, limited to only known values.
|
DOMString | - label
- The src, srclang, label, and default IDL attributes must reflect the
respective content attributes of the same name. The kind IDL attribute must reflect the content
attribute of the same name, limited to only known values.
|
unsigned short | readyState |
DOMString | - src
- The src, srclang, label, and default IDL attributes must reflect the
respective content attributes of the same name. The kind IDL attribute must reflect the content
attribute of the same name, limited to only known values.
|
DOMString | - srclang
- The src, srclang, label, and default IDL attributes must reflect the
respective content attributes of the same name. The kind IDL attribute must reflect the content
attribute of the same name, limited to only known values.
|
TextTrack | - track
- The track IDL attribute must, on getting,
return the track element's text track's corresponding
TextTrack object.
|